#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UITableCell.h>
#import <UIKit/UIImageAndTextTableCell.h>
#import <UIKit/UIImage.h>
#import <UIKit/UITextView.h>
#import <UIKit/UISwitchControl.h>
#import <UIKit/UITransitionView.h>
#import <UIKit/UIWindow.h>
#import <UIKit/UIView.h>

@interface ViewController : UIView
{
	UIWindow * window;
	UITransitionView * transition;
	CGRect frame;

	UIAlertSheet *connectSheet;

	UIView * current_view;
	UIView * prev_view;
}

-(id) initWithFrame:(CGRect) frame;
-(void) transitionTo:(UIView *) view slideDirection:(int) style;
-(CGRect) getFrame;

+(id) initSharedInstanceWithFrame:(CGRect) win;
+(id) sharedInstance;
@end
